package com.yrk.service;

import com.yrk.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    //注册
    int registerUser(User user);
    //登录
    User loginUser(User user);
    //添加
    int addUser(User user);
    //删除
    int deleteUser(User user);
    //修改
    int updateUser(User user);
    //查询
    List<User> getUserList();
    //模糊查询
    List<User> findUserByVague(String vague);
    //批量删除
    int deleteInBulkUser(List<Integer> userList);
    //分页查询
    Map<String,Object> findUserPage(Map<String, Integer> map);
}
